package API.String.StringBuilderDemo;

public class Basis {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("Hello World");
        System.out.println(sb);
        boolean judge = false;
        sb.append(judge);
        System.out.println(sb);
        sb.reverse();
        System.out.println(sb);
        System.out.println(sb.length());
        sb.reverse();
        sb.deleteCharAt(11);
        System.out.println(sb);
        sb.delete(11,12);
        System.out.println(sb);
        String builder = sb.toString();
        System.out.println(builder);
    }
}
